package com.vois.jack.btmgr.common;

import com.vois.jack.btmgr.classicbase.BtRecorderInterface;

public interface DeviceRecorderControlInterface {
    int NONE_RECORDER = 0x00;
    int SPP_RECORDER = 0x01;
    int SCO_RECORDER = 0x02;
    int OPUS_RECORDER = 0x03;
    int SBC_RECORDER = 0x04;

    interface ResultCallback {
        void onResult(boolean result);
    }

    int getSampleRate();
    boolean startRecorder(ResultCallback callback);
    void stopRecorder(ResultCallback callback);
    int getDefaultRecorderType();
    BtRecorderInterface getRecorder(int recoderType);
}
